﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MobileAPI.Entity
{
   public class Enums
    {
       public enum EnumOrderType
       {
           unconfirmed=1,
           confirmed=2,
           deliveryed=4,
           canceled=8
       }

       public enum EnumShopType
       {
           restaurant=1,
           drinkbar=2,
           seven_eleven=4
       }

       /// <summary>
       /// 1:ASC
       /// 2:DESC
       /// </summary>
       public enum EnumSortType
       {      
           ASC = 1,
           DESC = 2
       }

       /// <summary>
       /// 1:CommodityName
       /// 2:Price
       /// 3:IsHot
       /// 4:IsNew
       /// 5:Rec_CreateTime
       /// </summary>
       public enum EnumCommoditySortField
       {
           CommodityName=1,
           Price=2,
           IsHot=3,
           IsNew=4,
           Rec_CreateTime=5
       }

       /// <summary>
       /// 1:ShopsName
       /// 2:ShopsAddress
       /// 3:ShopsTel
       /// 4:ShopsPraise
       /// 5:ShopsPoor
       /// 6:ShopsType
       /// 7:RecommendedDishes
       /// 8:OpeningHours
       /// 9:Consumption
       /// 10:LowestPrice
       /// 11:Freight
       /// 12:Distance
       /// </summary>
       public enum EnumShopSortField
       {
           ShopsName = 1,
           ShopsAddress = 2,
           ShopsTel = 3,
           ShopsPraise = 4,
           ShopsPoor = 5,
           ShopsType = 6,
           RecommendedDishes = 7,
           OpeningHours = 8,
           Consumption = 9,
           LowestPrice = 10,
           Freight = 11,
           Distance=12
       }
    }
}
